CUR_DIR = 'E:/2024/新后台群控'
SQL_SERVER = '23.94.226.26,5810'
#SQL_SERVER = '.'
SQL_USER = 'sa'
SQL_PWD = 'Zqh970825'
PRO_AD_DIR='D:/mmmm/ShopeeAD'
executablePath = 'C:/Program Files/Google/Chrome/Application/chrome.exe'
ADSPower_API_URL = 'http://localhost:50325'
ADSPower_API_KEY = 'a022e4730518ac31aed522f057e1fd80'
DeepSeek_Auth='Bearer sk-3c8ae8738d91498bbdcffc76bd0345b1'
MAX_WAIT=60
PH_MAX_REQ_COUNT=60


MBID_CatID_dict={
    '10772':100011,
    '10700':100011,
    '10755':100017
}

Keyword_Type_Gender_Map={
    1:'CR优秀',
    2:'ATC优秀',
    3:'CPC优秀',
    4:'广泛匹配关键词'
}

Gender_Keyword_Type_Gende_Map={
    'CR优秀':1,
    'ATC优秀':2,
    'CPC优秀':3,
    '广泛匹配关键词':4
}

REGION_MAP={
    '印尼':'id',
    '泰国':'th',
    '马来西亚':'my',
    '新加坡':'sg',
    '越南':'vn',
    '巴西':'br',
    '菲律宾':'ph',
    '台湾':''
}

IMG_HOST_MAP={
    '印尼':'https://down-id.img.susercontent.com/file/',
    '泰国':'https://cf.shopee.co.th/file/',
    '马来西亚':'https://cf.shopee.com.my/file/',
    '越南':'https://cf.shopee.vn/file/',
    '新加坡':'https://s-cf-sg.shopeesz.com/file/',
    '菲律宾':'https://down-ph.img.susercontent.com/file/',
    '巴西':'https://s-cf-sg.shopeesz.com/file/',
    '台湾':'https://s-cf-sg.shopeesz.com/file/'
}

SQ_Map={
    '印尼':7,
    '泰国':7,
    '马来西亚':8,
    '新加坡':8,
    '越南':7,
    '巴西':-3,
    '菲律宾':8,
    '台湾':8
}

DS_Headers={
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer sk-3c8ae8738d91498bbdcffc76bd0345b1',
  'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36'
}

MY_EMAIL_INFO={
    'sender_email':'725403943@qq.com',
    'sender_password':'hgbstglempmfbfdd'
}

OPT_Country_Condition_Map={
    '泰国':{'budget':40,'cost_range':[10,18,24,100]},
    '马来西亚':{'budget':8,'cost_range':[1.1,2,2.7,13.2]},
    '越南':{'budget':20000,'cost_range':[8000,14400,20000,69000]},
    '菲律宾':{'budget':40,'cost_range':[16,29,39,162]},
    '台湾':{'budget':30,'cost_range':[9,16,22,90]},
    '新加坡':{'budget':4,'cost_range':[0.4,0.7,0.9,3.8]},
    '巴西':{'budget':5,'cost_range':[1.5,2.7,3.6,15.2]}
}

Task_Name_dict={
                1: '采集流量报表', 2: '广告标题拆解',  3: '采集店铺首页', 4: '采集阿里巴巴采购订单',5: '1688转印尼广告产品',
                6: '发布广告', 7: '删除店铺全部产品',  8: '虾皮上架草稿箱',9:'虾皮采集我的产品概况',10:'采集违规产品',
                11:'虾皮采集后台订单',12:'采集菲律宾虾皮产品类目列表',13:'采集菲律宾虾皮产品详情',14:'采集菲律宾虾皮店铺列表',15:'采集阿里巴巴搜索列表',
                16:'采集阿里巴巴产品详情',17:'1688生成印尼标题描述',18:'1688翻译sku为印尼语',19:'1688翻译sku为英语',20:'1688生成泰语标题描述',
                21:'采集平台推荐ROARS',22:'采集广告报表',23:'测品广告管理',24:'广告测品大数据发布',25:'采集虾皮达人ID',
                26:'自动邀请达人',27:'删除达人计划',28:'虾皮自动发布大数据',29:'删除草稿箱所有产品',30:'虾皮采集后台库存',
                31:'泰国铺货过滤侵权',32:'获取周边产品',33:'虾皮删除不达标测品',34:'虾皮采集Income-Balance',35:'虾皮采集ProductOverview',
                36:'1688补充采集产品',37:'虾皮跨境店广告管理',38:'1688生成马来语标题描述',39:'马来广告获取cpc和ctr',40:'大数据一筛ATC',
                41:'大数据二筛ATC',42:'大数据三筛ATC',43:'大数据四筛ATC',44:'大数据五筛ATC',45:'大数据六筛ATC',
                46:'提取标题关键词和侵权词',47:'采集1688订单物流',48:'提取马来采集关键词',49:'采集马来西亚虾皮产品列表',50:'采集马来西亚虾皮产品详情',
                51:'解析虾皮评论到sku',52:'生成痛点方案',53:'提取1688关键词重量体积类型',54:'提取1688产品标签',55:'翻译1688产品标签'
            }

Task_Fuc_dict={
                1:'yb_get_time_llgraph',2:'task_ads_title_breakdown',3:'yb_get_Homeinfo',4:'tyb_cj_order',6:'yb_cteate_ad',
                7:'yb_delete_product',8:'yb_publish_draft_product', 9:'yb_cj_list_count',10:'yb_cj_wgpro',11:'yb_get_order',
                12:'pyb_cj_plist',13:'pyb_cj_pitem',14:'pyb_cj_dplist',15:'tyb_cj_plist',16:'tyb_cj_pitem',
                21:'yb_cj_ROAS',22:'yb_cj_adbb',23:'yb_stop_testad',24:'yb_move_ads',25:'yb_get_affiliate',
                26:'yb_add_affiliate2',27:'yb_stop_affiliate',28:'yb_publish_bigdata',29:'yb_del_draft',30:'yb_get_stock',
                31:'yb_th_copyright',32:'task_get_peripheral_products',33:'yb_del_testad_pro',34:'yb_cj_bal_inc',35:'yb_cj_product_overview',
                36:'tyb_bcj_pitem',37:'yb_manage_opt_ads',39:'yb_manage_ml_ads',40:'yb_big_atc',41:'yb_big_atc',
                42:'yb_big_atc',43:'yb_big_atc',44:'yb_big_atc',45:'yb_big_atc',46:'task_get_cpc_and_risk',
                47:'tyb_cj_wl',48:'task_get_ml_kw',49:'pyb_cj_plist',50:'pyb_cj_pitem',51:'task_map_comments_to_sku',
                52:'task_create_pain_point_solution',53:'task_extract_1688_size_weight_type',54:'task_extract_1688_product_tags',55:'task_translate_1688_product_tags'
            }

